package com.ftg.learn.bus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 负责人表
 * </p>
 *
 * @author lalala
 * @since 2022-03-07
 */
@TableName("sys_director")
@ApiModel(value = "Director对象", description = "负责人表")
public class Director implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("负责人ID")
    @TableId(value = "did", type = IdType.AUTO)
    private Long did;

    @ApiModelProperty("负责人姓名")
    private String dname;

    @ApiModelProperty("负责人联系方式")
    private String dphone;

    @ApiModelProperty("负责人状态(是否离职,0为在职,1为离职)")
    private int status;

    public Long getDid() {
        return did;
    }

    public void setDid(Long did) {
        this.did = did;
    }
    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }
    public String getDphone() {
        return dphone;
    }

    public void setDphone(String dphone) {
        this.dphone = dphone;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Director{" +
            "did=" + did +
            ", dname=" + dname +
            ", dphone=" + dphone +
            ", status=" + status +
        "}";
    }
}
